package com.aizhixin.lab.task.entity;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import org.springframework.cache.annotation.Cacheable;
import com.aizhixin.lab.common.entity.AbstractStringIdAndCreatedDateEntity;
import lombok.Getter;
import lombok.Setter;


@Entity(name="t_task_stu_infor")
@Cacheable
public class TaskStuInfor extends AbstractStringIdAndCreatedDateEntity{

	
	@Column(name = "release_task_id")
	@Getter @Setter
	private String releaseTaskId;
	
	/**
	 * 学生id
	 */
	@Column(name = "stu_id")
	@Getter @Setter
	private Long stuId;
	
	@Column(name = "stu_name")
	@Getter @Setter
	private String stuName;
	/**
	 * 教学班id
	 */
	@Column(name = "course_class_id")
	@Getter @Setter
	private String courseClassId;
	
	/**
	 * 提交时间
	 */
	@Column(name = "commit_time")
	@Getter @Setter
	private Date commitTime;
	
	/**
	 * 作业审批结果
	 */
	@Column(name = "result")
	@Getter @Setter
	private String result;
	
	/**
	 * 任务状态【 uncommit:未提交,pending:待审批,approved:已审批】
	 */
	@Column(name = "task_status")
	@Getter @Setter
	private String taskStatus;

	/**
	 * 课程章节的小节ID
	 */
	@Column(name = "COURSE_MINUTIA_ID")
	@Getter @Setter
	private Long courseMinutiaId;
	/**
	 * 课程章节ID
	 */
	@Column(name = "COURSE_CHAPTER_ID")
	@Getter @Setter
	private Long courseChapterId;

	/**
	 * 审批时间
	 */
	@Column(name = "batch_time")
	@Getter @Setter
	private Date batchTime;
	/**
	 * 评语
	 */
	@Column(name = "comment")
	@Getter @Setter
	private String comment;
	@Column(name = "is_show_answer")
	@Getter @Setter
	private String isShowAnswer;
	@Column(name = "is_show_grade")
	@Getter @Setter
	private String isShowGrade;
	@Column(name = "grade")
	@Getter @Setter
	private String grade;

}
